
const glob = require("glob");

describe("Checking generated html files", ()=>{
    if("should generate html files",(done) => {
        const files = glob.sync([
            "./dist/index_*.js",
            "./dist/index_*.css"
        ]);

        if(files.length > 0){
            done();
        }else{
            throw new Error("no js or css file generate")
        }
    });
});
